import request from '@/utils/request.js'
import service from "@/utils/request.js";

const productApi = {
    selectCategoryTree() {
        return request.get('/product/category/selectCategoryTree')
    },
    selectByParentId(id){
        return request.get(`/product/category/selectByParentId/${id}`,{})
    }
}

export default productApi